package org.example.shejimoshi.yuanze.kaibi;


public class JavaBook3 implements Book3 {
    private String name;
    private String author;
    private Double price;

    public JavaBook3(String name, String author, Double price) {
        this.name = name;
        this.author = author;
        this.price = price;
    }

    @Override
    public String getName() {
        return this.name;
    }

    @Override
    public String getAuthor() {
        return this.author;
    }

    @Override
    public Double getPrice() {
        return this.price;
    }
}

